-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Fixes home view bugs #3730
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixes home view bugs #3730
Conversation
0edc19a to
305ea9b
Compare
| ${when(overview.choices, () => html`<gl-change-repo .options=${overview.choices}></gl-change-repo>`)} | ||
| </h3> | ||
| ${activeBranches.map(branch => this.renderRepoBranchCard(overview!.repository.name, branch))} | ||
| ${repeat(activeBranches, branch => this.renderRepoBranchCard(overview.repository.name, branch))} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
repeat isn't really beneficial without adding a keyFn
| ${repeat(activeBranches, branch => this.renderRepoBranchCard(overview.repository.name, branch))} | |
| ${repeat(activeBranches, branch => branch.name, branch => this.renderRepoBranchCard(overview.repository.name, branch))} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok, reverted it to reduce the changes. I believe it doesn't make sense on small-size lists
| ></gl-button> | ||
| <gl-button appearance="secondary" density="compact" tooltip=${forcePushTooltip} | ||
| <gl-button | ||
| href=${createWebviewCommandLink('gitlens.views.home.push', 'gitlens.views.home', '', { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a force push
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yep
305ea9b to
9feaba1
Compare
- handle push/pull actions - add link to pr - control force branches reloading
9feaba1 to
046a6a2
Compare
Description
Checklist
Fixes $XXX -orCloses #XXX -prefix to auto-close the issue that your PR addresses